Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUMULUS-350 Update queue-granules to use cumulus-message-adapter #227

Merged
merged 5 commits into from
Mar 2, 2018

Conversation

marchuffnagle
Copy link
Contributor

No description provided.

Marc Huffnagle added 3 commits March 1, 2018 15:16
@marchuffnagle marchuffnagle changed the title WIP - Cumulus 350 Update queue-granuels to use cumulus-message-adapter WIP - Cumulus 350 Update queue-granules to use cumulus-message-adapter Mar 1, 2018
@marchuffnagle marchuffnagle changed the title WIP - Cumulus 350 Update queue-granules to use cumulus-message-adapter CUMULUS-350 Update queue-granules to use cumulus-message-adapter Mar 1, 2018
@marchuffnagle
Copy link
Contributor Author

In addition to updating the queue-granules task to use the message adapter, this PR also greatly simplifies the granule queuing code.

Copy link
Contributor

@laurenfrederick laurenfrederick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments

* See schemas/input.json and schemas/config.json for detailed event description
*
* @param {Object} event - Lambda event object
* @returns {Promise} - see schemas/output.json for detailed output schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is returning an Object, not a Promise, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's an async function, so it's returning a Promise.

@@ -39,6 +39,7 @@
"license": "Apache-2.0",
"dependencies": {
"@cumulus/common": "^1.0.1",
"@cumulus/cumulus-message-adapter-js": "0.0.1-beta.3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make this 1.0.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created CUMULUS-367 to deal with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants